package com.example.project.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (ExterUnitCatalog)实体类
 *
 * @author makejava
 * @since 2024-02-23 15:18:23
 */
public class ExterUnitCatalog implements Serializable {
    private static final long serialVersionUID = -51555488320061888L;

    private Integer id;
/**
     * 父id
     */
    private Integer fatherId;
/**
     * 顺序
     */
    private Integer eOrder;
/**
     * 单位类别
     */
    private String unitCategory;
/**
     * 创建用户
     */
    private String creater;
/**
     * 创建时间
     */
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date creatTime;
/**
     * 是否有效  1:是；0：否
     */
    private Integer valid;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getFatherId() {
        return fatherId;
    }

    public void setFatherId(Integer fatherId) {
        this.fatherId = fatherId;
    }

    public Integer getEOrder() {
        return eOrder;
    }

    public void setEOrder(Integer eOrder) {
        this.eOrder = eOrder;
    }

    public String getUnitCategory() {
        return unitCategory;
    }

    public void setUnitCategory(String unitCategory) {
        this.unitCategory = unitCategory;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

}

